﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapTo(typeof(T_Biz_Item))]
    public class UpdateT_Biz_ItemDto : EntityDto<Guid>
    {
        /// <summary>
        /// 公司ID 
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 配置ID
        /// </summary>
        [MaxLength(100)]
        public string NConfigID { get; set; }
        /// <summary>
        /// 资产编码
        /// </summary>
        [MaxLength(100)]
        public string CItemCode { get; set; }
        /// <summary>
        /// 资产ID
        /// </summary>
        [MaxLength(100)]
        public string NItemID { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(300)]
        public string CDescription { get; set; }
        /// <summary>
        /// 资产价值
        /// </summary>
        [MaxLength(300)]
        public string NItemValue { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        [MaxLength(300)]
        public string CImageUrl { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IUse { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        [MaxLength(300)]
        public string CItemName { get; set; }
        /// <summary>
        /// 父级ID--CItemCode
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int NQty { get; set; }
    }
}
